<?php
/**
 * 关于页面的模板
 *
 * @package custom
 */
?>
<!doctype html>
<html lang="zh-CN">
<head>
    <?php $this->need('layout/header.php'); ?>
</head>
<body class="user-select">
<!-- 导航条 -->
<?php $this->need('layout/nav.php'); ?>
<section class="container container-page">
    <?php $this->widget('Widget_Contents_Page_List')->to($items); ?>
    <div class="pageside">
        <ul class="pagemenu">
            <?php while($items->next()): ?>
            <li <?php if($this->is('page', $items->slug)): ?> class="current"<?php endif; ?>>
                <a href="<?php $items->permalink(); ?>" title="<?php $items->title(); ?>">
                    <?php $items->title(); ?>
                </a>
            </li>
            <?php endwhile; ?>
        </ul>
    </div>
    <div class="content">
        <header class="article-header">
            <h1 class="article-title">
                <?php $this->title(); ?>
            </h1>
        </header>
        <div class="content-wrap">
            <?php $this->content(); ?>
        </div>
    </div>

</section>
<?php $this->need('layout/footer.php'); ?>
</body>
</html>